package SmartFleet.station;

import java.util.ArrayList;
import java.util.HashMap;

import smartfleet.communication.smartfleetobjects.GeneralInfo;


import com.google.android.maps.GeoPoint;

public class FlyingStation {

	private int id;
	
	private int port;

	private GeoPoint mylocation;

	HashMap<String, GeoPoint> destinations;
	HashMap<Integer, GeneralInfo> myCars;
	ArrayList<Flight> flightqueue;

	public FlyingStation(GeoPoint location){
		
		this.id = 0;
		this.mylocation = location;
		this.destinations = new HashMap<String, GeoPoint>();
		this.myCars = new HashMap<Integer, GeneralInfo>();
		this.flightqueue = new ArrayList<Flight>();
		this.port = 0;
		
	}
	
	public void setMylocation(GeoPoint mylocation) {
		this.mylocation = mylocation;
	}
	
	public GeoPoint getMylocation() {
		return mylocation;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public int getId() {
		return id;
	}
	
	public void setDestinations(HashMap<String, GeoPoint> destlist){
		destinations = destlist;
	}
	
	public HashMap<String, GeoPoint> getDestinations(){
		return destinations;
	}
	
	public void setMyCars(HashMap<Integer, GeneralInfo> carlist){
		myCars = carlist;
	}
	
	public HashMap<Integer, GeneralInfo> getMyCars(){
		return myCars;
	}
	
	public void setFlightQueue(ArrayList<Flight> fqueue){
		flightqueue = fqueue;
	}
	
	public ArrayList<Flight> getFlightQueue(){
		return flightqueue;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public int getPort() {
		return port;
	}
	
	
}
